-- GENERATED SPELL FOR [Frigid Abomination Attacker] --


function spell0_27531(pUnit, Event) --@Cleave,n/a--
pUnit:FullCastSpellOnTarget(40504,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_27531', 620, 1)
end

function Sorts_27531(pUnit, Event)
local choix_sorts_27531 = math.random(0, 0)
if choix_sorts_27531 == 0 then
pUnit:RegisterEvent('spell0_27531', 1, 1)
end
end

function mob27531_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_27531', math.random(1500, 3000), 1)
end

function mob27531_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob27531_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob27531_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(27531, 1, 'mob27531_Action')
RegisterUnitEvent(27531, 2, 'mob27531_Leave')
RegisterUnitEvent(27531, 3, 'mob27531_Kill')
RegisterUnitEvent(27531, 4, 'mob27531_Die')
